<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>管理中心</title>
<script type="text/javascript" src="scripts/jquery.js"></script>
</head>
<body>
<!--{include file="top.htm"}-->
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="150" valign="top"><!--{include file="left.htm"}--></td>
<td valign="top">
<div class='title'>
<a href="?action=config&do=menu_add">添加菜单</a>
&raquo;&nbsp;菜单列表</div>
<div class='item'>
	<table cellspacing="0" cellpadding="0" width="100%">
	<!--{foreach from=$menu_list item=menu}-->
	<tr>
	<td height="28" align="center" width="40"><!--{$menu.id}--></td>
	<td><a href="?action=config&do=menu_edit&menu_id=<!--{$menu.id}-->" class="name"><!--{$menu.name}--></a>&nbsp;(<!--{$menu.link}-->)</td>
	<td width="50" align="center" >
	<!--{if $menu.mode==0}-->顶部<!--{else}-->底部<!--{/if}-->
	</td>
	<td width="100" align="center" >
	<a href="?action=config&do=menu_edit&menu_id=<!--{$menu.id}-->">编辑</a>
	<a href="?action=config&do=menu_delete&menu_id=<!--{$menu.id}-->" onclick="return confirm('确定要删除吗？')">删除</a>
	</td>
	</tr>
	<tr><td height="1" bgcolor="#eeeeee" colspan="4"></td></tr>
		<!--{foreach from=$menu.children item=child}-->
		<tr>
		<td height="28" align="center" width="40">&nbsp;</td>
		<td>&nbsp;&nbsp;-&nbsp;&nbsp;<a href="?action=config&do=menu_edit&menu_id=<!--{$child.id}-->" class="name"><!--{$child.name}--></a>&nbsp;(<!--{$child.link}-->)</td>
		<td width="50" align="center" >
&nbsp;
		</td>
		<td width="100" align="center" >
		<a href="?action=config&do=menu_edit&menu_id=<!--{$child.id}-->">编辑</a>
		<a href="?action=config&do=menu_delete&menu_id=<!--{$child.id}-->" onclick="return confirm('确定要删除吗？')">删除</a>
		</td>
		</tr>
		<tr><td height="1" bgcolor="#eeeeee" colspan="4"></td></tr>
		<!--{/foreach}-->
	<!--{foreachelse}-->
	<tr><td height="50" colspan="2" align="center">暂无数据！</td></tr>
	<!--{/foreach}-->
	</table>
</div>
</td>
</tr>
</table>
</body>
</html>